﻿using System;

namespace SystemX.Services
{
	/// <summary>
	/// Logger service interface.
	/// TODO:Using DI to decouple log4net.dll from the core dll.
	/// </summary>
	/// <typeparam name="T">logger for who.Usually a domain object T.</typeparam>
	public interface ILogger<T>
	{
		void Error(string msg);
		void Error(Exception ex);
		void Info(string msg);
		void Warn(string msg);
	}
}
